home *** CD-ROM | disk | FTP | other *** search
/ Champak 112 / jogo-disk-112.iso / Games / steppenwolf_3_chapter_7.swf / scripts / DefineButton2_968 / BUTTONCONDACTION on(keyPress o).as < prev    next >
Text File  |  2010-07-14  |  494b  |  17 lines

  1. on(keyPress "o"){
  2.    if(eval("/Variables:AnimJoue") != true and getProperty("_root.Animatiques", _currentframe) == 1)
  3.    {
  4.       set("/Variables:Stoppe",false);
  5.       _root.Inventaire.swapdepths(_root.Gts);
  6.       setProperty("/Gts", _X, 536);
  7.       setProperty("/Gts", _Y, 357);
  8.       setProperty("/Gts", _xscale, 20);
  9.       setProperty("/Gts", _yscale, 20);
  10.       tellTarget("/")
  11.       {
  12.          gotoAndPlay(eval("/Variables:EtatActif"));
  13.       }
  14.       gotoAndStop(1);
  15.    }
  16. }
  17.